<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
	initEditor();
}
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/placerita_001/css/template.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="topnav">
  <div class="wrapper">
    <div class="left">  <?php mosLoadModules ( 'top_menu_l', -1); ?> </div>
    <div class="right"> <?php mosLoadModules ( 'top_menu_r', -1); ?> </div>
  </div>
</div>
<div id="container">
<div id="header">
  <!--<div class="logo">   <?php mosLoadModules ( 'logo',   -1 ); ?> </div> -->
  <img class="logo" src="<?php echo $mosConfig_live_site;?>/templates/placerita_001/images/logo.jpg" border="0"/>
  <div class="search"><?php mosLoadModules ( 'search', -1 ); ?></div>
</div>
<div id="menu_top"
  <?php mosLoadModules ( 'main_menu', -2 ); ?>
</div>

<div id="wrapper">
<div id="content">
    <!-- this is where things start to diverge --> 
  <div id="purpose">
    <?php mosMainBody(); ?>
  </div>

</div> <!-- end #content -->
</div> <!-- end #wrapper -->

  <div id="promotions">
    <div class="top">    <?php mosLoadModules( 'promo_01', -1 ); ?> </div>
    <div class="module" id="events"> <?php mosLoadModules( 'promo_02', -1 ); ?> 

    <!--
    <div class="module" id="events">
      <h2>Coming Events</h2>
      <ul>
        <li class="odd"><b>November 25 - Saturday</b>
          <table><tr>
              <td class="left_side">8:00 am</td> 
              <td class="right_side"><a href="#">Men's Prayer Meeting</a></td>
            </tr></table>
        </li>

        <li><b>November 26 - Sunday</b>
          <table>
            <tr>
              <td class="left_side">8:00 am</td> 
              <td class="right_side"><a href="#">Sunday Worship - 1st Service</a></td>
            </tr>
            <tr>
              <td class="left_side">9:30 am</td>
              <td class="right_side"><a href="#">Sunday Worship - 2nd Service</a></td>
            </tr>
           <table>
        </li>

      </ul>
      <div class="footer">
        <i><a href="#">more...</a></i>
      </div>
    </div> --> <!-- end module -->

    <div class="module" id="sermons"> <!-- begin sermons module -->
      <h2>Sermons</h2>
      <ul>
        <li class="odd"><b>November 25 - Saturday</b>
          <table><tr>
              <td class="left_side">8:00 am</td> 
              <td class="right_side"><a href="#">Men's Prayer Meeting</a></td>
            </tr></table>
        </li>

        <li><b>November 26 - Sunday</b>
          <table>
            <tr>
              <td class="left_side">8:00 am</td> 
              <td class="right_side"><a href="#">Sunday Worship - 1st Service</a></td>
            </tr>
            <tr>
              <td class="left_side">9:30 am</td>
              <td class="right_side"><a href="#">Sunday Worship - 2nd Service</a></td>
            </tr>
           <table>
        </li>

      </ul>
      <div class="footer">
        <i><a href="#">more...</a></i>
      </div>
    </div> <!-- end module -->



    
    </div>
    <div class="bottom"> <?php mosLoadModules( 'promo_03', -1 ); ?> </div>
 </div>

<div id="footer">
<?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
<?php mosLoadModules( 'debug', -1 );?>
</div>

</div> <!-- end #container -->
</body>
</html>
